/*
 *	@author	GeneZhao
 *	@date	2015-04-07 16:23:33
 *	@desc	
 */
Ext.define('kmsApp.Application', {
    extend: 'Ext.app.Application',

    name: 'kmsApp',

    uses:['kmsApp.SimData', 'Ext.ux.ajax.*'],
    requires: [
    	'kmsApp.view.oeminfo.OemInfo',
        'kmsApp.view.busiinfo.BusiInfo',
    	'kmsApp.view.panel.BasicPanels',
    	 'kmsApp.view.panel.FramedPanel'],
    /*controllers:[
        'Root'
    ],*/
    stores: [
        'main.Navigation','oeminfo.OemTree'
    ],

    launch: function() {
        Ext.ux.ajax.SimManager.init().register({
          '/authenticate':
          {
            type: 'json',
            data: function(ctx){
              return Ext.apply({}, true);
            }
          }
        });
    },
    init: function() {
        var me = this;
        me.setDefaultToken('all');
        //登录验证
        
    }
});
